package com.devin.controller;

import com.devin.service.SayService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SayController {

    @Resource
    private SayService sayService;

    @RequestMapping("/sayHello")
    public void saySomething() {
        sayService.saySomeThing();
    }
}
